Developer Documentation
PATH  WebObjects 4.0 Documentation > WebObjects Tools and Techniques

Table of Contents Previous Section

Building Your Application

You must build your application if your project contains any compiled code (Java or Objective-C). If your application uses WebScript only (and you do not modify any web server resources), you do not need to build. In this case, Project Builder runs a default executable (WODefaultApp) when you launch your application.

Once you have built your application, you do not need to rebuild unless you have made changes to your compiled code. You can make changes to your components (the .html, .wod, or .wos files) and test them without rebuilding.

For more information on how to build and run your application quickly, see the "Rapid Turnaround Mode".

Project Builder has a toolbar with buttons you use to build and launch your application.

  1. Click in the toolbar to open the Project Build panel.

  2. Click in the Project Build panel to build your project

    The Project Build panel displays the commands that are being executed to build your project. If all goes well, it displays the status message "Project Name - Build succeeded"

  3. Close the panel.

The Application Wrapper

When you build your project, Project Builder creates an application wrapper, which is a folder whose name is the project name plus the extension .woa.

The application wrapper has a structure similar to that of a framework. It consists of the following:

When you build and install your application, Project Builder copies all the files from your Web Server Resources suitcase to a folder called WebServerResources inside the application wrapper. If you have client-side Java components in your project, these are also copied to the WebServerResources folder.

Table of Contents Next Section